package com.bdqn.membersystem.servicce.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.bdqn.membersystem.mapper.AuAuthorityMapper;
import java.util.List;
import com.bdqn.membersystem.pojo.AuAuthority;
import com.bdqn.membersystem.servicce.AuAuthorityService;
@Service
public class AuAuthorityServiceImpl implements AuAuthorityService{

    @Resource
    private AuAuthorityMapper auAuthorityMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return auAuthorityMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(AuAuthority record) {
        return auAuthorityMapper.insertSelective(record);
    }

    @Override
    public AuAuthority selectByPrimaryKey(Long id) {
        return auAuthorityMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AuAuthority record) {
        return auAuthorityMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<AuAuthority> list) {
        return auAuthorityMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<AuAuthority> list) {
        return auAuthorityMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(AuAuthority record) {
        return auAuthorityMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(AuAuthority record) {
        return auAuthorityMapper.insertOrUpdateSelective(record);
    }

}
